package com.liuceng.zen.service;

import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.liuceng.zen.mapper.RptMemberCampaignGdtMobileDailyMapper;
import com.liuceng.zen.pojo.domain.RptMemberCampaignGdtMobileDaily;

@Service
public class RptMemberCampaignGdtMobileDailyService
    extends BaseService<RptMemberCampaignGdtMobileDaily> {
  @Autowired
  RptMemberCampaignGdtMobileDailyMapper rptMemberCampaignGdtMobileDailyMapper;
  
  public List<RptMemberCampaignGdtMobileDaily> findByMemberId(Integer memberId,Date rptDate){
    Map<String, Object> map =new HashMap<String, Object>();
    map.put("memberId", memberId);
    map.put("rptDate", rptDate);
    return rptMemberCampaignGdtMobileDailyMapper.findByParams(map);
  }
}
